import sys

from PySide6.QtWidgets import QApplication
from ui.main_window import *

def show_main_window():
    """显示主窗口"""
    app = QApplication([])
    window = MainWindow()
    window.show()
    sys.exit(app.exec())

# 主程序  
def main() -> None:
    show_main_window()

if __name__ == "__main__":
    main()